package com.numbfish.ch03_ex03_module_b.config;

import com.numbfish.ch03_ex02_module_a.config.CustomConfigModuleA;
import com.numbfish.ch03_ex03_module_b.pojo.Person;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@Import(CustomConfigModuleA.class)
public class CustomConfig{
    @Bean
    public Person personc(){
        return new Person("曹操c",44);
    }
}
